<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        console.log([] instanceof Array);  //数组[]是Array的实例吗？

        function Student(){};  //构造函数,相当于类

        var tom=new Student();  //实例化对象
        console.log(tom instanceof Student);  //true
        console.log(tom instanceof Object);  //true
        console.log(tom instanceof Function); //?
        console.log(Student instanceof Function);  //true
        console.log(tom);
        console.log(Student);
    </script>
</body>
</html>